package com.viknix.threadpool.manager.server.dependence.constant;

/**
 * @Author: Dongqi
 * @Date: 2021/11/11 10:16
 * @Version 1.0
 * @Description: Constants
 */
public interface Constants {
    
    /**
     * Spring Profile : "standalone".
     */
    String STANDALONE_SPRING_PROFILE = "standalone";
    
    /**
     * The System property name of  Standalone mode.
     */
    String STANDALONE_MODE_PROPERTY_NAME = "tpm.standalone";
    
    /**
     * The System property name of  Function mode.
     */
    String FUNCTION_MODE_PROPERTY_NAME = "tpm.functionMode";
    
    /**
     * The System property name of prefer hostname over ip.
     */
    String PREFER_HOSTNAME_OVER_IP_PROPERTY_NAME = "tpm.preferHostnameOverIp";
    
    /**
     * the root context path.
     */
    String ROOT_WEB_CONTEXT_PATH = "/";
    
    String TPM_SERVER_IP = "tpm.server.ip";
    
    String USE_ONLY_SITE_INTERFACES = "tpm.inetutils.use-only-site-local-interfaces";
    String PREFERRED_NETWORKS = "tpm.inetutils.preferred-networks";
    String IGNORED_INTERFACES = "tpm.inetutils.ignored-interfaces";

    String IP_ADDRESS = "tpm.inetutils.ip-address";
    String PREFER_HOSTNAME_OVER_IP = "tpm.inetutils.prefer-hostname-over-ip";
    String SYSTEM_PREFER_HOSTNAME_OVER_IP = "tpm.preferHostnameOverIp";
    String WEB_CONTEXT_PATH = "server.servlet.context-path";
    String COMMA_DIVISION = ",";
    
    String TPM_SERVER_HEADER = "tpm-Server";
    
    String REQUEST_PATH_SEPARATOR = "-->";
}
